import React, { PropTypes } from 'react'
import { connect } from 'react-redux'
import RComponent from '../../components'

class QuickConfig extends RComponent{
    constructor(props, context){
        super(props,context)
    }

    goNext(){
        this.context.router.push('/')
    }

    render(){
        return (
            <div className='quickConfig'>
                <h1>快速通道</h1>
                <button
                    className='pi-btn pi-btn-lg pi-btn-primary'
                    onClick={this.goNext.bind(this)}
                    >
                    进入
                </button>
            </div>
        )
    }
}

export default connect(
    state => state
)(QuickConfig)
